package org.kele.sc2020.proivder.service;

import java.util.List;
import java.util.Map;

public interface GroupTaskService {

    List<List<Integer>> groupIntoList(List<Integer> ids, int instanceCount);

    Map<String, List<Integer>> groupIntoMap(List<Integer> ids, int instanceCount);

    default int groupCriticalSize(int instanceCount) {
        return 10 * instanceCount;
    }


}
